Added real inside/outside teleportation