the core of FireFly