first commit
added NOTE messages; minor fixes