File:Flow diagram of CAP.jpg