added sub view searches
added select class to the associated sub