for measuring volume