copy data to local first now