changed map layout and working on tiles