HomeFoamCase Logic