simple ECC example