convert network API stuff