added applyRendition