Dealing with multiple arguments in the function calls