added no network error checks and messages