Change algorithms to programs.