finished the stuff for tut9