moved is_bz to helpers