Added 'next' to thread