made "adapter" a keyword argument for "Event" constructor