Add print function to notes, for debugging