Adding clickNumber logic