minor changes for plot purposes