changing array syntax to be PHP 5.3 compatible