Took some time, but got it done.