Removed Reset code