added mosaic class