updated to output persisted data