add support for capAdd

@cjellick This is the same PR from a different branch @ibuildthecloud 
There's a whitespace error here.  You have trailing whitespace