fixed loop and example