added in alg settigns that got left out