Both. The TPS must be working correctly or you can't accurately set the timing. Toyota calls for the timing to be 10 degrees BTDC. At that setting the engine is sluggish. Advancing the timing a bit makes the engine much more responsive.Will advancing the timing just mask the problem or is this troubleshooting?