Move logic into add_joke