changed to alternative php syntax