Working on thread creation.