add base events class