modify __construct() code