added steps 5 through 8