prototype for data storage