Added ability to set baseline voltage