adding SparseRepl