added 4ad persistence code