code style: replace function () with function()