upd hw2, fixed a typo