add query params to sample