define Piece service.