moved the debugging part first