included exception handling while downloading data