add piece class