add  nested enums for account and local services