better search function
searching with ranks now fully functional pending tests