Init code for HW 3