added Notes code