taking into account php5.3 syntax