Please add comment describing what this function does.