second part of exercise