work on double click instead of single click