added hms2sec