added end settings