basic data store functions for notes