Save notes locally and to parse database