code debugged but not finished yed