new vol function for osx
no need for another variable