EKC source codes