update to threaded stage 1 for testing