Missed the error handling code