slight changes to the check