Enum example for stack overflow