add support for capAdd

@cjellick  It's the same PR from a different branch @ibuildthecloud