ATM, amount can only ever possibly be 0 or 1.  Should you maybe have a line of code assigning `pumpEvent.jaxis.fvalue` to `amount` ?