really close to perfect deduction! Almost have every bug ironed out