randomize entitites primitive