Added a error handling assignment