Just remove the duration / 60 calcs as they are always 1 in my case.