Inserting an array returns an array