alternative pid is NOT unique. pass it as parameter in ajax