add thin func in the method