Jh trying to fix deficit calc