finish layout and rotus