got basic persistance working