Completion of exercise two