Rewrite data sending