changed duration interval comparisons task_05.py