added CHECK block