debugged tutorial