piece_get implemented