added notepad function