first implementation of fire