adding reset method to memozier