quick fix : variable to determine number of taps