use probability gem
replace eval with self.class.const_get