toying around with elliptic curve