Added functions documentation