Changed [] to array() because they are not supported in earlier versions of php.