adding and retrieving notes