I think I finished the debug