redefines routes