rebuild sample