HW5 correct init