added walls and collisions