note handling