got persistence working