Get cat block code working