Moved enum for code clarity