enum instead of numeric constants