first stage of CAT implemented