Added variables and comments