add variables, defines variables and add comments