added options to enable tiling