added some stuff, need to figure out how to traverse a particular grid in an efficient manner