still a mess,writing crawler