added loop content to a piece.