Added value and calculations to pids