refactor bboc project