adding completion block to if statement when duration is 0