moved reset from index to results page. Removed used class function