Changed array defination style from array() to []