Constructor corrected