createa a separate final events class