just need algo for parsing times