enum instead of define