added in minute to hour conversion function