added partner id functionality