move data out of fns