simplifies execute_algorithms