Update Teleportation

reworked the code