removed rider check from search function