Implemented week 3.