accept query paramater in get()