Core func of Typhoon example project