added comments for from where we took code in some classes