Added trooubleshooting
Added functions doc