added hasBenefits bool function