loops tasks are completed