refractor CTA mixins