algorithms changed