prototype dialog system