added object-to array-conversion