new API for event data