add paramters to yo endpoints