added eachColumn function
tryna get materials working from a block data element