add elliptic curve sample