Browsing: lottery algorithm