add ability to display error bars