Added code & comments class4