Looks like you forgot some debug code here :)