dist and factor