using param rather than instance var for end_of_track