Insulin resistance and ketosis