code for <locations> plus ut. re #6181