The mechanism of blood clotting