initialize the construction of hw4