added end list tag and changed HDR