removed leftover search code