finally hw5 tex file assembled