add inversion method
method takes array, not variable length args