worck demo verson for extend