finish layour and routes