completed script 9.7