updates to inference