Total Pieces should be int