Integration stuff by james

Here we go boys!