this is the removeFunc and single/doubleclick build