add slot thread sample