class variable and function level comments added