Attempt at finishing JimAlgorithm impl