modify algorithom comment