finish variables and add comments