second version of secondary_cta