API modified for network