Upgraded copcar-alg