bidirecitonal sampling & new writier