added padding between the bars and changed the way the data will be manipulated