plotting and other minor updates