added missing event parameter