added query params for building resource