added loops examples