add class, layout