Changed variable names to conform with naming standards and added comments for code