Complete fourth exercise