nice hms function now for formatting