adding comments to our class code

adding comments to our class code