Whoops
Ok, making progress with the diff functions