fixed the name
fixed the variable name algorithmName