another little alg update