removed uv in favor of just using callbacks
send data to c