added document & shape events