finished implementing network calls