add alg with property.