added a delta timer to the application