renaming algorithms and variables