created cta config init function