renamed algorithms in program