Added an inverter for the first source to get different patterns in the loop.