moved options to be query params