Green architecture of the CAP