Start on a simplification of getInteractionParameters, but noticed that a fix was needed for a missing set of braces