Call the function properly