routing algorithms. too tired.