use enums for dict keys