made getTile usage more consistent