added parameters to parent::__construct()