adding imr plot