now uses <note> instead of resname=''