removed the output from query since it is not used