changed access modifiers for search methods to public to prepare for
unit testing