main + packages