move method seems to work now, time is now printed into main