improved end of content