Separate method for demonstrating comparator