basic data sending working