Final commit with comments

Added comments