Addind doc on callback function