added comparison for method 1.