introduced parameter to thread