Can now send data but still many bug