Implemented datatransfer