updating master cod ethat had code out of synch