rudimentary matching of parameters to constructor arguments