need to drop all these logs, and the tmpNote variable above.