Add doc and fun.log