add layout class feature