A smarter notepad