Find bug in PieceGet function. NEED TO FIX