removed debug code from the hammer loop