added sample code to use QueryHelper
change the format