Added comments for code