Basis for clicking logic