added support for creating new parties