wip
finally a bug free version of note app