assignment finished. some bugs in multicurve still