Adding KDY and KLD to inverter query