corrected constructor call