changed the search order of class members