using cursor.add(note) to get working port