Using persistent objects