Yep, race condition - now we work out where it's occurring