Complete third exercise