ADDED FUNCTIONALITY SO THAT THE USER CAN CHOOSE THE SPECIFIC TIME VALUE AND THEN  ALSO ADD UP THE TOTAL IN MILLISECONDS

The milliseconds needs to be checked as using frames instead could be a better solution