ameliorations
change disp to fprintf