using doubleclick properly