layout and roles