trouble with setpoints

listing for trouble with setpoints from master part 2