Reverted to older syntax to maintain compatability with older PHP version