Added some simplistic looping through data