replaced php5.5 array syntax