Added a Reset to Map Function