mosaic class