implement page ranking logic & begin testing