def dissect_time(sec):
    """changes total seconds into hours, minutes, seconds"""
    seconds = sec % 60
    minutes = (sec // 60) % 60
    hours = (sec // 60) // 60

    return hours, minutes, seconds