implementation of simple mirror source model