put the griddata in seperate class to be able to record original position