Updated to include error