modified for use with WildFire