added function to add an adhoc note