modified algorithm and reliability