Freezing point and phase transition