How does Curve work?