to be honest I do not get logic why you need `Set` if you manually check if value is already included. Simple array can be used in such case.