added party type flag