added teleport block logic