where all the arguments except link are lists . But this makes my code looks pretty ugly . I pass these lists to this function because the function appends few values in all of these lists. How can I do it in more readable way for other users.