add enum, protected packages