changed code to now push the year and revenue into seperate arrays. this can then be used as the relevant x-y data for a graph