add persistent attribute example