Implementation of Steps 6-10