try pid as instance variable