made class for transferring data