revamped everything to make it cleaner and added functionality to do all of the random sleeping times