made loop to echo divs