Added comments for existing code.