updated for note and ref