updated elliptic to work with new field