CAP implemented & works