"if $var==null" removed, contructors changed