arg passing and kruskal test