query submission function added