adding reset to origina  functionality
adding reset to original functionality