Added explicit conversion to array