added end closings