added show query support #487