refactored AlgorithmPanel