almost complete productAlgorithmManager