implemented enum example
updated enum example