removed capacity_search_string and changed instance variables