remove syntatic sugar to allow for lower php versions; tested on php 5.3.10+