  A version of the second order phase transition theory, in which the Nernst
theorem holds automatically, is proposed. The theory is constructed in terms of
the order parameter and the (configurational) entropy. It faithfully reproduces
the solutions of Landau theory as well as stable existence of ordered and
disordered states and takes into account the existence of amorphous metastable
states. Finally, phenomenon of growth of fluctuations magnitude due to random
first order transitions between stable and metastable states as their energies
approach each other at a critical point is analyzed.
