fixed example
minor - wrapped some methods in pad, query, caps
added a EventCaps class