added parameter functionality to request