Title: Scheduling loops with conditional statements