blocked off loop with a value test.