def determine_duration_in_seconds(duration_string):
    """ takes a timestamp of the form '10:10:10' (hours, minutes, seconds) and returns an integer
    number of seconds. """
    hours, minutes, seconds = duration_string.split(":")
    return (int(hours)*60*60) + (int(minutes)*60) + int(seconds)