add extra 'end' entry