Theory section largely done