added Event fn parameter on show