added the ability to sum arrays