refactored to hide unnecessary html, duped func to convert decimal to hrs and mins