appendItem to an Array Function?