moving data formatting to plotting