add third task in homework2