comparing two methods of setting outputs