adding inference