made fire mode a bit smarter, but has bug