how to make an inference