fix bug in inference - need to be generative to catch all the potential generalizations