all bd2 code