integrating bb buildings logic