defining route functions
fixed conflict