time spent method