It can be harder than you think to lose weight.