Declared and defined the variables and added comments to them.