made query easier to read