changing durations to ints (sorry weird branch)