Adding reset and populate functions; tested and good to go!