More logic and fun stuff.