adding final elements