terrible implementation of finding parties by name