added nested_loop example