ModeEnum added