Logic is a very beautiful thing.