added a new assignment with a smoother implementation of deltaTime functionality