Debugging final code