separated volume into function