use real objects to create url params