finally debugged