Curve maybe working, hard to test with idleFunc