Added missing arguments to function call