Added the bb_read function