High levels of physical activity can help to counteract a gene that normally causes people to gain weight