initial threads code
warning