adds curve support, rudimentary for now