initial implementation of dialog system