Sample using enum