script to compare methods