complete 2-1 exercise