Mix in the logic