storing of routes has now an own method