bar plots and updated map code