event add logic new