more variational stuff... lots of math writing and things