removed ids from event handlers, which are now identified uniquely by L and function