Improving query designer