It sounds like you're doing well to me @RuthP
I've been on a similar journey - put on insulin five years ago, switched to metformin about a year ago and came off it about three months ago (my choice).
For me it's been a mix of weight loss (over four stones gone), more exercise, cutting carbs...