minimal changes to program