add preparing data before send it