Introduced setup_data method for event