Models of Phase Transitions