Foolproof Hub code