persistence working and stubbed