ADDED getPiece() method