added piece class