adds var placeholder for event data