add thin support