Revert "use __construct() for constructor"

This reverts commit 26ad947c5d9541a44721b9d972441fe708f41860.