pretty much the gist of what i wrote down in maths today