Extra logic added to the map route