BuildingWidget related function changed to virtual