updated to support note fetching