The first lines of code and function of closing