coding conventions: function parameters - used regexp ',(?=[^ \n])' to replace occurences