initial route calculations