loop and for examples