added empty bid searching function