Add private utility function, DRY