moving fakedata function to plotting