added parameters to startswithpmd string