moving from pid attr of type int to type char *