Eliminating specific food choices from diet such as dairy due to being lactose intolerant and nuts due to an allergy can cause malnutrition if those food groups are not replaced with alternatives high in the same nutrients. Not replacing dairy products which are high in calcium could lead to calcium deficiency. Similarly, not having other sources of protein besides nuts could cause protein deficiency. Some health factors like diabetes may positively influence diet choices by requiring a person to eat more regularly and healthily with foods that provide long-lasting energy like brown bread and rice. Lactose intolerance can be managed by replacing calcium from dairy with calcium supplements or other calcium-rich foods.