finish lyout and routes