search with address and capacity working