updates to B prototype