finish layout and routes2