add Berkley IF and imporve thrift IF