Doing all inner debug stuff