small change on bowtie method