added tile rendering and levels