make query support parameters