cpr & shallow flatten