debugged oct 10 code