curve stuff