增加sample和adapter