t in sec and y in mm