switch would be nicer here. But not mandatory