added the "puzzle" and "deadend" elements