Corrected signature of constructor