debugged code & submitted