Initial import of EC sample functions