changed [] syntax in array() to make compatible with PHP 5.3