added notepad mode