learned how to make a  loop