Cleaned up some comments and made start time allowed to equal, but not exceed end time