more writeup in mean field