added config for event