update the piecesVB method