changed additional instances of distinct command to proper format