improved
Merge pull request #6 from simsim2006/improvement-to-reset

improved