return double data type for duration and time played