add search reddit function && clean up comments