modified algorithms orders