adding option to disable plotting
na