modifications to use partlocator