router functionality ~*implemented*~