index into the msolenoids array when calling trigger
moved to delay after trigger into the trigger function.