query wares in frontend