updated old intnegbin stuff