crawl and store but very bad code