now needs php5.4 (array() to [])