make packages an attribute