First attempt at add method, BUG: array initialization not proper