now outputs cube volume