create persistemt model