added public static in event recipe