add layout for register