better if the variable was named int unloaderValve = 5;
Gain insight to what the numbers are doing by adding Serial.prints
Now the numbers will show their stuff.