there , they cleaned their tools and mended the gum barrels , rapping out a musical beat with their hammers as they nailed loose metal hoops to the staves ; then slathered to the gaps between staves , a fat-smelling glue rendered from cowhides and other waste saved from beef slaughtering .