Had been doing this problem so wrong at first.