add comment explaining boosting code