merging locationsms class