corrected constructor declaration