Now with moar logic!