updating to assignment 9