pulled into local var for speed in slitscan