This actually wasn't that hard without undos