Revised [] to array()