working on a method that computes the actual number of seconds the user inputs