Added basic persist method