adds primitive locations class