event syntax improvement