MuCat3 code