maybe complete route resister function