@ pp: alg res. is done