add runtime dependency on cap