adding steps 8 & 9