new base code