docs and example for tile mode