Add lucky_search function