modified api routes