Replaced array() with [] in a few places
Replaced array() with [] in a few places