started to add data persistence