overloading -calculating volume