add fourth task in homework3