Changed all occurences of array(...) to [...]