add support for capAdd

@cjellick This is the same PR from a different branch @ibuildthecloud 
this will cause a flake8 error, you need two new lines between top level methods/classes