added mode check to print @notes