add comment about the purpose of this function (name is not self-explanatory)