Use params map for functions with more parameters