complete API for readNote