Add comment to helper function