removed search out of inner class