support for php5.5 only