whole algo was changed, unclick option was added