added InitBET method