began to add tile based collision detection