finish layout and router