added ability to manipulate query projection