added the resistor information and is now working