//note this is on the main thread too...