add samples and modify ui