changed some stuff..

need to figure out how to loop through iteratively without pointers or something