semi done bb implentation