Clean code
Handle network error