got persistence sort of working