Changed array defination from array() to []