solution part4