change way data is send