removed wrong comment
adding dynamic use of custom event types