working with quoteevent