Adding in original bird search code