finish layout adn routing