adding a setPrice function