Add a setPoint method