Added explanation to err check