Working on lick discover algorithm