adding option to pass params as dict