party management code is now working
update todo