completed layout and routes