Array add

rewrite, need testing and mocha tests