what about using object with params instead of 6 function arguments ?