Implement method of getPieceName