first implementation of level grid