finished layout2 and routes