please switch all instances of array() -> [] syntax