worked on mean field writeup