Put debug code in correct place.