added logging to note