building out data persistence