debugged codes