adding reset method to models