first version of Crawler.java