add example codes for manual page.