get "h" and "m" flags working; clean up interface with getvol()