Added import function for Parties