A new method for studying crystallization of amorphous alloys