3 COD how program works