updated to Arty's new pid method