A lot of unnecessary difficulty, but finished 514!