Add option to use inversions