made persistence sortof work