Implementing time and controlling teleport