updated with notepad almost final version