added attrib to events