Modified the sample query