implemented proper time based movement