Adding curve processing