working on move speed and added a time keeping thread