added variable for double tap timing