basic data storage in mem