processing moved to the main thread