started class to persist party id