add attributes and modules