#14 - add time played function