adding src, event, etc