local enums and interfaces are not allowed